package cn.dgiot.fd.contant;

/**
 * [设备状态]
 * @author
 */
public enum DeviceStateEnum {

	NOT_ACTIVE("UNACTIVE","未激活"),
	
	OUT_OF_SERVICE("DISABLE","已禁用"),
	
	ON_LINE("ONLINE","在线"),
	
	OFF_LINE("OFFLINE","离线");

	DeviceStateEnum(String code,String name){
		setCode(code);
		setName(name);
	}
	
	private String code;
	
	private String name;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	
}
